package cn.zn.modules.budget.cur.service.impl;

import cn.zn.framework.common.utils.PageUtils;
import cn.zn.modules.budget.cur.entity.TBudgetInDetailEntity;
import cn.zn.modules.budget.cur.dao.TBudgetInDetailDao;
import cn.zn.modules.budget.cur.service.TBudgetInDetailService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;


@Service("tBudgetInDetailService")
public class TBudgetInDetailServiceImpl extends ServiceImpl<TBudgetInDetailDao, TBudgetInDetailEntity> implements TBudgetInDetailService {

    @Override
    public PageUtils queryPage(TBudgetInDetailEntity tBudgetInDetail, IPage<TBudgetInDetailEntity> page) {

        QueryWrapper<TBudgetInDetailEntity> tBudgetInDetailQueryWrapper = Wrappers.query();

        IPage<TBudgetInDetailEntity> pageResult = this.page(page, tBudgetInDetailQueryWrapper);
        return new PageUtils(pageResult);
    }

}